<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>原生JS</title>
    <link type="text/css" rel="stylesheet" href="index.css">
    <style type="text/css">
        html {
            height: 100%;
        }

        body {
            height: 100%;
            margin: 0;
        }

        #app {
            width: 100%;
            height: 100%;
        }

        .actions {
            padding: 1em;
            border-bottom: solid 1px #bbbbbb;
        }

        .node{
            padding: 1em;
            background: #9cdfff;
        }
    </style>
    <script src="https://unpkg.com/jquery@latest"></script>
</head>
<body>
<div class="actions">
    <button onclick="addNode()">添加节点</button>
    <button>添加区域</button>
    <button>添加区域</button>
</div>
<div id="app"></div>
<script src="dist/es-browser.bundle.js"></script>
<script src="index.js"></script>
</body>
</html>
